package cn.stylefeng.guns.modular.finance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 财务中心：跟物流公司的结算流水明细
 * @author allen
 * @date 2021/4/11 23:12
 * @version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "finance_logistics_settlement_detail")
public class FinanceLogisticsSettlementDetailEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 订单编号
     */
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 结算金额
     */
    @TableField(value = "total_settlement_amount")
    private BigDecimal totalSettlementAmount;

    /**
     * 银行账号
     */
    @TableField(value = "bank_account")
    private String bankAccount;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_ORDER_NO = "order_no";

    public static final String COL_TOTAL_SETTLEMENT_AMOUNT = "total_settlement_amount";

    public static final String COL_BANK_ACCOUNT = "bank_account";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}